<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<script src="./jquery-1.12.4.min.js"></script>
<script src="./keyword.js"></script>
<style>
    #filterName {
        width: 300px;
        margin: 0 auto;
    }
    /* * {
        padding: 0;
        margin: 0;
    } */
    
    li {
        list-style: none;
    }
    
    #shoulist {
        width: 250px;
        height: 212px;
        overflow: auto;
        display: none;
        z-index: 1;
        position: absolute;
        top: 10px;
        left: 200px;
        background-color: rgba(251, 243, 243, 0.993);
        border-radius: 8px;
    }
    
    #showpn_list {
        width: 150px;
        height: 212px;
        overflow: auto;
        display: none;
        z-index: 1;
        position: absolute;
        top: 10px;
        left: 0px;
        background-color: rgba(251, 243, 243, 0.993);
        border-radius: 8px;
    }
    
    .box {
        margin: 0 auto;
        display: flex;
        position: relative;
    }
    
    .pn {
        margin-right: 20px;
    }
</style>

<body>
    <div class="box">
        <div class="pn">pn：<input type="text" placeholder="请选择" id="pn_list"></div>
        <ul id="showpn_list"></ul>
        <div class="sn">sn: <input type="text" name="" id="filterName" placeholder="关键字搜索请勾选 “件号不存在”"> <input type="checkbox" id="checkbox"> <span>件号不存在</span></div>
        <ul id="shoulist"></ul>
    </div>
    <div>这是一个寂寞的天</div>
</body>

</html>